package com.zmn.oms.common.utils;

import com.zmn.common.constant.GlobalConsts;

/**
 * 类描述：
 *
 * @author xiangyang
 * @date 2019/01/10 22:04
 */
public class PremissUtil {
    /**
     * 客户端是否需要选择保修卡故障
     *
     * @param servCategId
     * @return
     */
    public static boolean needSelectWarrantyFault(Integer servCategId) {
        boolean need = false;

        switch (servCategId) {
            case GlobalConsts.SERV_CATEG_REPAIR:
            case GlobalConsts.SERV_CATEG_INSTALL:
                need = true;
                break;
            default:
                break;
        }

        return need;
    }
}
